/* ----------------------------- Marlin Toolkit----------------------------*
Authors : Daniel Randle, Alex Bourne
Date Created : Mar 12 2013

File:
	shaderwindow.h

Description:
	This file contains the necessary declarations of the ShaderWindow class which is
	the viewport for the Shaders in the game that you can select
*---------------------------------------------------------------------------*/
#ifndef SHADERWINDOW_H
#define SHADERWINDOW_H

// Includes
#include <qwidget>
#include <global.h>

// Forward declarations
class QTreeWidget;
class QVBoxLayout;

#ifdef DEBUG
class Debug;
#endif

namespace ToolkitGui
{

	class ShaderWindow : public QWidget
	{
		Q_OBJECT
	public:
		ShaderWindow(QWidget * parent=NULL, Qt::WindowFlags f = 0);

		#ifdef DEBUG
		void setDebug(Debug * debug);
		#endif

	private:
		void _initObjects();
		void _setupUi();
		void _setupConnections();

		#ifdef DEBUG
		Debug * d;
		#endif

		// Qt objects
		QTreeWidget * treeView;
		QVBoxLayout * winLayV;
	};

}

#endif